import service from '@/utils/request'

const BusinessFileApi = {
  listBusiness(data) {
    return service.get('businessFile/page', {params: data })
  },
  addBusinessFile: function(data) {
    return service.post('businessFile', data)
  },
  editBusinessFile(data) {
    return service.put('businessFile', data)
  },
  deleteBusinessFile(data) {
    return service.put('businessFile/delete',data)
  },
  getBusinessFileInfo(data) {
    return service.get('businessFile', {params: data })
  },
}
export default BusinessFileApi
